<div class="ui-autocomplete" uib-dropdown>
	<input type="text" ng-model="autocomplete" class="form-control" uib-dropdown-toggle="" aria-haspopup="true" aria-expanded="true"  ng-focus="getCity(this.value);"/>
	<div class="dropdown-menu autocomplete" uib-dropdown-menu role="menu" ng-if="autocompleteArr.name.length>0">
		<ul>
			<li role="menuitem" ng-repeat="(i,item) in autocompleteArr.name track by $index" ng-click="autocompleteClick(item)">{{item.name}}</li>
		</ul>
	</div>
</div>